package com.baizhi.cmfz.service.impl;

import com.baizhi.cmfz.dao.AudioDao;
import com.baizhi.cmfz.entity.Audio;
import com.baizhi.cmfz.service.AudioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * This is a Class.
 *
 * @author zhanglh
 * @date 2019/09/23
 */
@Service
public class AudioServiceImpl implements AudioService {
    @Autowired
    private AudioDao audioDao;

    @Override
    public List<Audio> findAudioListByAlbumId(int albumId) {
        return audioDao.findAudioListByAlbumId(albumId);
    }
}
